﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Designer.Event.UI
{
    /// <summary>
    /// 创建一个组件的事件
    /// </summary>
    public class UICreatePartEvent : UIEvent
    {
        public string ParentName { get; set; }
        public Designtime.Metadata.Part PartMetadata { get; set; }

        public UICreatePartEvent(string parentName, Coolzon.Designtime.Metadata.Part partMetadata)
        {
            this.ParentName = parentName;
            this.PartMetadata = partMetadata;
        }
    }
}
